<template>
  <div class="demo-title">stepper/demo1</div>
  <div class="demo bottom-line">
    <label>基础用法</label>
    <Stepper v-model="baseValue" />
  </div>
  <div class="demo">
    <label>禁用状态</label>
    <Stepper v-model="disabledValue" disabled />
  </div>
</template>

<script lang="ts" setup>
  import { ref } from 'vue'
  import Stepper from '@sscd-mobile/stepper'

  const baseValue = ref(1)
  const disabledValue = ref(1)
</script>

<style scoped>
  .demo {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 54px;
    padding: 0 12px;
    background: #fff;
  }
  .bottom-line {
    border-bottom: 1px solid #eee;
  }
</style>
